package com.example.base.dto;

import com.example.base.enums.LoginTypeEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
public class TokenUserDTO {

    @ApiModelProperty(value = "用户ID")
    private Long userId;

    @ApiModelProperty(value = "用户名")
    private String userName;

    @ApiModelProperty(value = "电话号码")
    private String telephone;

    @ApiModelProperty(value = "登录方式")
    private LoginTypeEnum loginType;

    @ApiModelProperty(value = "用户角色")
    private List<String> roleCodeList;
}
